pkgs <- c(
  "BAS", "data.table", "dplyr", "exactextractr", "fixest",
  "ggplot2", "gridExtra", "haven", "lme4", "lubridate",
  "pbapply", "readr", "readstata13", "rnaturalearth", "rstanarm",
  "scales", "sf", "terra", "tidyr", "tidyverse"
)

invisible(
  lapply(pkgs, function(p) if(!require(p, character.only = TRUE)) install.packages(p))
)

remotes::install_github("antuki/COGugaison")
